home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple Reference & Presen…tion Library 2 (Reseller)
/
Apple R&P Lib Reseller v2.0.iso
/
3-Demos
/
Third Party Demos
/
Information Management
/
Wingz
/
SDScript
/
Script06
(
.txt
)
< prev
next >
Wrap
Wingz Script
|
1989-06-07
|
5KB
|
156 lines
WNGZWZSC01b1x
Demo06
Toolbox
Pointer
Circle
ArcNormal
ArcFilled
SmoothPoly
RegPoly
Lines
Circle
ArcNormal
ArcFilled
SmoothPoly
RegPoly
Lines
Imagination
Mouth
Left Eye
Right Eye
Bubble Pointer
Bubble
Bubble Pointer
Bubble
Hello
Imagination
Hello
SDOpen
DoSound
Segway
boxmove
looptimes
pause
define n, looptimes, pause
repaint selections off
looptimes = 2
pause = .5
call sd:SDOpen("Demo06",1)
call sd:DoSound("Toolbox")
wait for (sd:Segway*2) seconds
select object "Pointer"
clear
hide fields
for n = 1 to looptimes
call sd:boxmove("Box",pause)
call sd:boxmove("Circle",pause)
call sd:boxmove("ArcNormal",pause)
call sd:boxmove("ArcFilled",pause)
call sd:boxmove("SmoothPoly",pause)
call sd:boxmove("RegPoly",pause)
call sd:boxmove("Lines",pause)
end for
select object "Box"
clear
select object "Circle"
clear
select object "ArcNormal"
clear
select object "ArcFilled"
clear
select object "SmoothPoly"
clear
select object "RegPoly"
clear
select object "Lines"
clear
show notes
call sd:DoSound("Imagination")
wait for (sd:Segway*1) seconds
hide notes
{ Object 1 }
Unselect Add Polygon
frac(E2,205,71,205,71),
frac(D6,184,149,184,149),
frac(E6,220,71,220,71),
frac(E4,50,213,50,213),
frac(E8,254,156,254,156),
frac(F8,241,120,241,120),
frac(F6,85,234,85,234),
frac(G9,1,92,1,92),
frac(H8,248,128,248,128),
frac(G4,43,241,43,241),
frac(H6,227,156,227,156),
frac(I6,156,85,156,85),
frac(H2,198,14,198,14)
object number 1
object name "Body"
polygon
poly smoothing on
fill fg 0
fill bg 16777165
fill pattern 20
{ Object 2 }
Unselect Add Oval Range frac(F2..H3,0,64,234,35)
object name "Head"
Object Location frac(E1..G3,191,220,163,191)
fill fg 0
fill bg 13558527
fill pattern 20
{ Object 3 }
Unselect Add Polyline frac(F2,248,71,248,71),
frac(F3,64,163,64,163),
frac(G3,64,43,64,43),
frac(G2,234,99,234,99)
object name "Mouth"
polyline
poly smoothing on
line fg 255
line bg 16777215
line pattern 1
line width 60
no arrow
{ Object 4 }
Unselect Add Oval Range frac(F2,78,71,142,135)
object name "Left Eye"
fill fg 0
fill bg 16777215
fill pattern 1
{ Object 5 }
Unselect Add Oval Range frac(G2,85,28,142,85)
object name "Right Eye"
fill fg 0
fill bg 16777215
fill pattern 1
Object Location frac(G2,85,0,142,57)
{ Object 6 }
Unselect Add Polygon frac(F2,142,198,142,198),
frac(F2,248,177,248,177),
frac(F2,248,241,248,241)
Object name "Nose"
fill fg 0
fill bg 13496575
fill pattern 20
{ Object 7 }
Unselect Add Polygon frac(I2,177,128,177,128),
frac(H3,191,213,191,213),
frac(J2,198,28,198,28)
object name "Bubble Pointer"
{Object 8 }
Unselect Add Oval Range frac(H1..K3,156,71,28,163)
object name "Bubble"
select object "Bubble Pointer"
select more object "Bubble"
Object Location frac(G1..J3,28,156,64,248)
select object "Hello"
Object Location frac(H1..J2,92,71,92,71)
bring to front
select object "Imagination"
clear
unselect
show notes
repaint selections on
call sd:DoSound("Hello")
wait for (sd:Segway*2) seconds
close now